package com.yfp.client.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yfp.client.domain.EnterpriseOrder;

/**
* @author admin
* @description 针对表【enterprise_order(企业订单)】的数据库操作Mapper
* @createDate 2024-08-10 09:41:36
* @Entity com.yfp.group.domain.EnterpriseOrder
*/
public interface EnterpriseOrderMapper extends BaseMapper<EnterpriseOrder> {
    /**
     * 根据订单编号查询
     * @param orderSn
     * @return
     */
    EnterpriseOrder findByOrderSn(String orderSn);


    /**
     * 查询企业名称
     * @param enterpriseId
     * @return
     */
    String findEnterpriseNameByEnterpriseId(Long enterpriseId);

    void updateFinishTime(String orderSn);
}